package IO;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.util.StringTokenizer;
import java.*;
class Read {
    //字符串裁剪
    StringTokenizer st = new StringTokenizer("");

    //1.字节流 ——> 字符流
    //2.带内存缓冲区的字符流
    BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

    String next() throws IOException
    {
     /*   while(!ishasMoreToken())      这个是读多行数据才会需要循环
        {

        } */
        st = new StringTokenizer(bf.readLine());
        return  st.nextToken();
    }

    String nextLine()throws IOException
    {
        return bf.readLine();
    }

    int nextInt()throws IOException
    {
        return Integer.parseInt(next());
    }

    long nextLong()throws IOException
    {
        return Long.parseLong(next());
    }

    double nextDouble() throws IOException
    {
        return Double.parseDouble(next());
    }

    float nextFloat() throws IOException
    {
        return Float.parseFloat(next());
    }
}

public class IO {

}
